/*
 * Copyright (c) 2012 Sqpoll.
 * All rights reserved.
 */
package com.yglab.sqpoll.model;

import java.io.Serializable;
import java.util.Date;

/**
 * This class is a model for comment.
 * 
 * @author Younggue Bae
 */
@SuppressWarnings("serial")
public class Comment implements Serializable {

	private int commentId;
	private int surveyId;
	private int questionId;
	private String comment;
	private String createUserId;
	private String createUserName;
	private Date createDate;
	
	public int getCommentId() {
		return commentId;
	}
	public void setCommentId(int commentId) {
		this.commentId = commentId;
	}
	public int getSurveyId() {
		return surveyId;
	}
	public void setSurveyId(int surveyId) {
		this.surveyId = surveyId;
	}
	public int getQuestionId() {
		return questionId;
	}
	public void setQuestionId(int questionId) {
		this.questionId = questionId;
	}
	public String getComment() {
		return comment;
	}
	public void setComment(String comment) {
		this.comment = comment;
	}
	public String getCreateUserId() {
		return createUserId;
	}
	public void setCreateUserId(String createUserId) {
		this.createUserId = createUserId;
	}
	public String getCreateUserName() {
		return createUserName;
	}
	public void setCreateUserName(String createUserName) {
		this.createUserName = createUserName;
	}
	public Date getCreateDate() {
		return createDate;
	}
	public void setCreateDate(Date createDate) {
		this.createDate = createDate;
	}
	
	@Override
	public String toString() {
		return "Comment [commentId=" + commentId + ", surveyId=" + surveyId + ", questionId=" + questionId + ", comment="
				+ comment + ", createUserId=" + createUserId + ", createUserName=" + createUserName + ", createDate="
				+ createDate + "]";
	}

}
